projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a915dc6
)
(Faccept_process_output): Accept sub-second timeouts.
author
Erik Naggum
<erik@naggum.no>
Wed, 21 Feb 1996 01:45:21 +0000
(
01:45
+0000)
committer
Erik Naggum
<erik@naggum.no>
Wed, 21 Feb 1996 01:45:21 +0000
(
01:45
+0000)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 831885347967c3424f5b10cfd0292d6511d57220..443da0733378961d375332e985ef8279d5457587 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-1917,7
+1917,7
@@
Return non-nil iff we received any output before the timeout expired.")
{
CHECK_NUMBER (timeout, 1);
seconds = XINT (timeout);
- if (seconds <
= 0
)
+ if (seconds <
0 || (seconds == 0 && useconds == 0)
)
seconds = -1;
}
else